import Vuex from 'vuex';
import vue from 'vue';
vue.use(Vuex);
const store = new Vuex.Store({
    state: {
      islogin:false       //是否登陆状态
    },
    mutations: {
      increment (state,n) {
        state.islogin=n
      }
    }
  })
  export default store;